package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 货盘对象 t_pallets
 * 
 * @author ruoyi
 * @date 2025-02-23
 */
public class Pallets extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String pname;

    /** sku规格 */
    @Excel(name = "sku规格")
    private String specification;

    /** 单位 */
    @Excel(name = "单位")
    private String punit;

    /** 包装量 */
    @Excel(name = "包装量")
    private Long unitNum;

    /** 代发价格 */
    @Excel(name = "代发价格")
    private String dropShippingPrice;

    /** 销售价格 */
    @Excel(name = "销售价格")
    private BigDecimal retailPrice;

    /** 图片 */
    @Excel(name = "图片")
    private String imageUrl;

    /** 供应商 */
    @Excel(name = "供应商")
    private String supplier;

    /** 制造商 */
    @Excel(name = "制造商")
    private String manufacture;

    /** 佣金 */
    @Excel(name = "佣金")
    private String commission;

    /** 描述链接 */
    @Excel(name = "描述链接")
    private String descUrl;

    /** 支持快递 */
    @Excel(name = "支持快递")
    private String express;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPname(String pname) 
    {
        this.pname = pname;
    }

    public String getPname() 
    {
        return pname;
    }
    public void setSpecification(String specification) 
    {
        this.specification = specification;
    }

    public String getSpecification() 
    {
        return specification;
    }
    public void setPunit(String punit) 
    {
        this.punit = punit;
    }

    public String getPunit() 
    {
        return punit;
    }
    public void setUnitNum(Long unitNum) 
    {
        this.unitNum = unitNum;
    }

    public Long getUnitNum() 
    {
        return unitNum;
    }
    public void setDropShippingPrice(String dropShippingPrice) 
    {
        this.dropShippingPrice = dropShippingPrice;
    }

    public String getDropShippingPrice() 
    {
        return dropShippingPrice;
    }
    public void setRetailPrice(BigDecimal retailPrice) 
    {
        this.retailPrice = retailPrice;
    }

    public BigDecimal getRetailPrice() 
    {
        return retailPrice;
    }
    public void setImageUrl(String imageUrl) 
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() 
    {
        return imageUrl;
    }
    public void setSupplier(String supplier) 
    {
        this.supplier = supplier;
    }

    public String getSupplier() 
    {
        return supplier;
    }
    public void setManufacture(String manufacture) 
    {
        this.manufacture = manufacture;
    }

    public String getManufacture() 
    {
        return manufacture;
    }
    public void setCommission(String commission) 
    {
        this.commission = commission;
    }

    public String getCommission() 
    {
        return commission;
    }
    public void setDescUrl(String descUrl) 
    {
        this.descUrl = descUrl;
    }

    public String getDescUrl() 
    {
        return descUrl;
    }
    public void setExpress(String express) 
    {
        this.express = express;
    }

    public String getExpress() 
    {
        return express;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pname", getPname())
            .append("specification", getSpecification())
            .append("punit", getPunit())
            .append("unitNum", getUnitNum())
            .append("dropShippingPrice", getDropShippingPrice())
            .append("retailPrice", getRetailPrice())
            .append("imageUrl", getImageUrl())
            .append("supplier", getSupplier())
            .append("manufacture", getManufacture())
            .append("commission", getCommission())
            .append("createTime", getCreateTime())
            .append("descUrl", getDescUrl())
            .append("express", getExpress())
            .toString();
    }
}
